home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import unittest
- import computerjanitor
- import computerjanitorapp
-
- class UserInterfaceTests(unittest.TestCase):
-
- def setUp(self):
- self.ui = computerjanitorapp.UserInterface('app', 'pm')
-
-
- def testReturnsCorrectApp(self):
- self.assertEqual(self.ui.app, 'app')
-
-
- def testReturnsCorrectPluginManager(self):
- self.assertEqual(self.ui.pm, 'pm')
-
-
- def testRunRaisesUnimplemented(self):
- self.assertRaises(computerjanitor.UnimplementedMethod, self.ui.run, None, None)
-
-
-